<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="id" name="id" th:value="${appUser.id}"  type="hidden">
						<input id="orgId" name="orgId" th:value="${appUser.orgId}"  type="hidden">
						<input id="hpassword" name="hpassword" th:value="${appUser.password}"  type="hidden">
						<input id="htype" name="htype" th:value="${appUser.type}"  type="hidden">
						<input id="hsex" name="hsex" th:value="${appUser.sex}"  type="hidden">
							<div class="form-group">	
								<label class="col-sm-3 control-label">员工编号：</label>
								<div class="col-sm-8">
									<input id="mobile" name="mobile" th:value="${appUser.mobile}" class="form-control" type="text">
								</div>
							</div>
                            <div class="form-group">
								<label class="col-sm-3 control-label">密码(不填不更新)：</label>
								<div class="col-sm-8">
									<input id="newPassword" name="newPassword"  class="form-control" type="text">
								</div>
							</div>
                            <div class="form-group">
								<label class="col-sm-3 control-label">姓名：</label>
								<div class="col-sm-8">
									<input id="cnName" name="cnName" th:value="${appUser.cnName}" class="form-control" type="text">
								</div>
							</div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">职业类别：</label>
                                <div class="col-sm-8">
                                    <input id="duty" name="duty" th:value="${appUser.duty}" class="form-control" type="text">
                                </div>
                            </div>
							<div class="form-group">
								<label class="col-sm-3 control-label">性别：</label>
								<div class="col-sm-8">
									<label class="checkbox-inline">
										<input type="radio" name="sex"  value="男" >男
									</label>
									<label class="checkbox-inline">
										<input type="radio" name="sex"  value="女"> 女
									</label>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">图片：</label>
								<div class="row">
									<div class="col-sm-8" id="logImg">

										<input type="hidden" name="headImg" th:value="${appUser.headImg}"/>
										<div class="col-sm-3 col-md-3 resourceImg">
											<div class="thumbnail">
												<img class="imgUrl" data-toggle="tooltip" imgName="" title="点击预览大图" th:src="${appUser.headImg}">
											</div>
										</div>
										<button type="button" class="layui-btn uploadImg">
											<i class="fa fa-cloud"></i>上传
										</button>
									</div>
								</div>
							</div>

<!--							-->
<!--							<div class="form-group">-->
<!--								<label class="col-sm-3 control-label">部门：</label>-->
<!--								<div class="col-sm-8">-->
<!--									<input id="orgName" name="orgName"  th:value="${appUser.orgName}" readonly class="form-control" type="text">-->
<!--									<a class="btn btn-primary btn-sm chooseUser" href="#" mce_href="#" title="选择部门" onclick="chooseDept()">选择部门</a>-->
<!--								</div>-->
<!--							</div>-->

							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/invest/appUser/edit.js" th:src="@{/js/appjs/invest/appUser/edit.js}">
	</script>
	<script type="text/javascript" th:src="@{/js/upload.js}"></script>
</body>
</html>
